@import './public.less';
@import './var/color.less';

input:-webkit-autofill {
  box-shadow: 0 0 0 1000px white inset !important;
}

:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s !important;
}

html {
  overflow: hidden;
  text-size-adjust: 100%;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: visible;
  overflow-x: hidden;

  &.color-weak {
    filter: invert(80%);
  }

  &.gray-mode {
    filter: grayscale(100%);
    filter: progid:dximagetransform.microsoft.basicimage(grayscale=1);
  }
}

a:focus,
a:active,
button,
div,
svg,
span {
  outline: none;
}

.container {
  padding: 16px;
}

.actionBtn {
  display: flex !important;
  align-items: center;

  svg {
    margin-right: 4px;
  }
}

.base-modal{
  .ant-modal-title {
    font-weight: 600;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 600;
  }
  .ant-modal-body{
    padding: 20px 24px;
  }
}

.ant-modal-confirm-title{
  font-size: 16px;
  color: rgba(0, 0, 0, 0.80);
  font-weight: 500;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-operation{
  &>* {
    margin: 0 6px;
  }
  &> .iconDef{
    cursor: pointer;
  }
}

.table-search {
  display: flex;
  justify-content: space-between;

  .table-search-box {
    margin-right: 24px;
  }

  .table-search-btn {
    display: flex;

    button {
      margin-left: 16px;
    }
  }
}